package com.onLineCar.management.feign.impl;

import com.onLineCar.common.core.domain.Result;


import com.onLineCar.management.domain.TDriver;
import com.onLineCar.management.feign.QueryDriverData;
import org.springframework.stereotype.Component;

/**
 * @author : 段敏强
 * @className : QueryDriverDataFallback
 * @description : 描述说明该类的功能
 * @createTime : 2023/12/20 18:51
 */

/**
 * 熔断降级
 */
@Component
public class QueryDriverDataFallback implements QueryDriverData {


    @Override
    public Result<TDriver> queryDriverList(Integer driverId) {
        return Result.error();
    }
}
